package com.locatead.proto.util.datastore;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;

public final class RdbmsPMF {
	/*
	 * create an instance of PersistenceManagerFactory for JDO mapping.
	 * name "transactions-optional" has been defined for a "persistence-manager-factory"
	 * element in jdoconfig.xml
	 */
	private static final PersistenceManagerFactory pmfInstance =
		JDOHelper.getPersistenceManagerFactory("postgresql-transactions-optional");
	
	private RdbmsPMF() {};
	
	public static PersistenceManagerFactory get() {
		return pmfInstance;
	}
}
